import http from "@/utils/request";

/**
 * 登录
 * @param params
 */
export const loginApi = <T>(data: T) => http.post("/user/login", data);

/**
 * 修改用户信息
 * @param params
 */
export const updateUserInfoApi = <T>(data: T) => http.patch("/user/update", data);
